<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link rel="stylesheet" type="text/css" href="${contextPath}/css/alimi.css" /> 
  <link rel="stylesheet" type="text/css" href="${contextPath}/css/w.css" />
  <script type="text/javascript" src="${contextPath}/js/libs/jindo.mobile.all.ns.js"></script>
  <title>MyAlimi 계정</title>
	
</head>
<body>
<div class="headerTitle">
	<div class="nv1">
		<span>MY ALIMI - 로그인  </span>
	</div>
</div> 
<div class="sign-in">
	<div class="signin-box">
		<form id="loginform" action="/alimiLogin/login.alm" method="post">
		<div class="id-div">
			<label for="id"><strong class="id-text">아이디</strong></label>
			<input type="text" name="id" id="id">
		</div>
		<div class="passwd-div">
			<label for="Passwd"><strong class="passwd-label">비밀번호</strong></label>
			<input  type="password" name="passwd" id="passwd">
		</div>
		<input type="submit" class="g-button g-button-submit" name="signIn" id="signIn"value="로그인">
		<input type="button" class="g-button g-button-red" name="joinMove" id="joinMove"value="가입하기">
		</form>
		
	</div>
</div>
<script type="text/javascript">
login = {
	init : function () {
		jindo.$Fn(function(e) {
			e.stopDefault();
			location.href="/alimiLogin/join.alm";
		}).attach(jindo.$("joinMove"), "click");
	}
}

window.onload = function() {
	login.init();
}

</script>
		
</body>
</html>
